package com.taobao.api.domain;

import com.taobao.api.TaobaoObject;
import com.taobao.api.internal.mapping.ApiField;

/**
 * 分页信息
 *
 * @author auto create
 * @since 1.0, null
 */
public class TOPPaginator extends TaobaoObject {

  private static final long serialVersionUID = 6193333239297382666L;

  /**
   * 当前页码。取值范围:大于零的整数。默认值为1,即默认返回第一页数据。
   */
  @ApiField("current_page")
  private Long              currentPage;

  /**
   * 是否最后一页
   */
  @ApiField("is_last_page")
  private Boolean           isLastPage;

  /**
   * 每页条数。默认值：12
   */
  @ApiField("page_size")
  private Long              pageSize;

  /**
   * 搜索到符合条件的结果总数
   */
  @ApiField("total_results")
  private Long              totalResults;

  public Long getCurrentPage() {
    return this.currentPage;
  }

  public void setCurrentPage(Long currentPage) {
    this.currentPage = currentPage;
  }

  public Boolean getIsLastPage() {
    return this.isLastPage;
  }

  public void setIsLastPage(Boolean isLastPage) {
    this.isLastPage = isLastPage;
  }

  public Long getPageSize() {
    return this.pageSize;
  }

  public void setPageSize(Long pageSize) {
    this.pageSize = pageSize;
  }

  public Long getTotalResults() {
    return this.totalResults;
  }

  public void setTotalResults(Long totalResults) {
    this.totalResults = totalResults;
  }

}
